package com.xcesys.extras.dataobject;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VersionObject")
public abstract class VersionableObject extends BlameableObject {

	private static final long serialVersionUID = -8472595239223027966L;

	/** version control counter. */
	@XmlAttribute(name = "Version")
	private Long version = Long.valueOf(0);

	public VersionableObject() {
		super();
	}

	public Long getVersion() {
		return version;
	}

	public void setVersion(Long version) {
		this.version = version;
	}

}
